package com.hamster.crmpre.service;

import com.hamster.crmpre.pojo.Leverage;
import com.hamster.crmpre.pojo.LeveragePlanInformation;
import com.hamster.crmpre.pojo.dto.SaveLeveragePlanDTO;

import java.util.List;

public interface LeveragePlanService {
    /**
     * 根据id查询杠杆信息
     * @param id 杠杆信息唯一标识id
     * @return 一条杠杆信息
     */
    Leverage getLeverage(String id);

    void insert(LeveragePlanInformation leveragePlanInformation);


    LeveragePlanInformation initiateLeveragePlansView(String messageLink);

    void initiateLeveragePlansPass(String messageLink);

    void initiateLeveragePlansRefuse(String messageLink);

    void saveLeveragePlan(SaveLeveragePlanDTO saveLeveragePlanDTO);

    List<Leverage> list();
}
